package oo6;

public class DogTest {

	public static void main(String[] args) {
		HabaDog d = new HabaDog();
		d.print();// 哈巴狗
		System.out.println("<<<<<<<<<<<<<<<<");
		d.name = "草毛狗";
		d.print();
		System.out.println(">>>>>>>>>>>>>>>>>...");
		d.printLegs();
	}

}
